package com.finance.cooperate.dao.entity.secondary;

import com.finance.cooperate.dao.support.pojo.BaseVO;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName StrategyRecord
 * @Description TODO
 * @Author shenanxin
 * @Date 2023/8/23 14:33
 * @Modify ...
 */
@Entity
@Table(name = "rc_strategy_record")
@Data
public class StrategyRecord extends BaseVO {

    private static final long serialVersionUID = -2677130796145199826L;
    // 主键id || 流水号
    @Id
    @Column(name = "id")
    private String id;

    // 用户 id
    @Column(name = "uid")
    private String uid;

    // 申请 id
    @Column(name = "apply_id")
    private String applyId;

    // 贷款次数
    @Column(name = "loan_num")
    private Long loanNum;

    // 初始分
    @Column(name = "initial_score")
    private Double initialScore;

    // 最终分
    @Column(name = "final_score")
    private Double finalScore;

    // 是否命中
    @Column(name = "is_hit")
    private Boolean isHit;

    //创建时间
    @Column(name = "created")
    private Long created;

}
